Skip to content

Refactor OverloadIntegrationTest #17530

Merged
yanavlasov merged 1 commit intoenvoyproxy:mainfrom
KBaichoo:overload-refactor
Aug 4, 2021
Merged

Refactor OverloadIntegrationTest #17530
yanavlasov merged 1 commit intoenvoyproxy:mainfrom
KBaichoo:overload-refactor

Conversation

@KBaichoo
Copy link
Contributor

@KBaichoo KBaichoo commented Jul 28, 2021

Refactor OverloadIntegrationTest breaking out a test base, and the fake resource monitors.

Signed-off-by: Kevin Baichoo kbaichoo@google.com

Commit Message:Refactor OverloadIntegrationTest breaking out a test base, and the fake resource monitors.
Additional Description: These will be used in integration tests for checking that the reset stream mechanism kicks in based on Overload, resetting client streams.
Risk Level: low (test only)
Testing: ran tests (just a refactor)
Docs Changes: NA
Release Notes: NA
Platform Specific Features:NA
Related Issue: #15791

resource monitors.

Signed-off-by: Kevin Baichoo <kbaichoo@google.com>
@KBaichoo
Copy link
Contributor Author

/assign @antoniovicente PTAL, if you have time.

@repokitteh-read-only
Copy link

🙀 Error while processing event:

evaluation error
error: function _rk_error error: path contains forbidden characters:
 Traceback (most recent call last):
  bootstrap:143: in <toplevel>
  bootstrap:135: in _main
  bootstrap:62: in _call
  bootstrap:15: in _call1
  github.com/repokitteh/modules/assign.star:18: in _assign
  github:395: in issue_check_assignee
  github:131: in call
Error: function _rk_error error: path contains forbidden characters
🐱

Caused by: a #17530 (comment) was created by @KBaichoo.

see: more, trace.

@KBaichoo
Copy link
Contributor Author

/assign @antoniovicente

PTAL, if you have time.

@antoniovicente
Copy link
Contributor

Change is a pure test infrastructure only refactor and looks good. Only comment is if it would be worth extending OverloadIntegrationTest with additional options instead of extracting out some of these classes. It's hard to tell the best approach without looking at how this will be used in the future.

@KBaichoo
Copy link
Contributor Author

KBaichoo commented Aug 3, 2021

Thanks for the review @antoniovicente.

See:
https://github.com/KBaichoo/envoy/pull/111/files#diff-6d6c1ce33cf3d4bd1944249cdd89371d4402d315a61c633c9b7f170f15946bfdR422 For how its immediately used in the PR that builds off of this

@yanavlasov yanavlasov merged commit 1d9dc75 into envoyproxy:main Aug 4, 2021
baojr added a commit to baojr/envoy that referenced this pull request Aug 4, 2021
…bridge-stream

* upstream/main: (32 commits)
  tls: move ssl connection info into SocketAddressProvider (envoyproxy#17334)
  conn pool: default enable runtime feature `conn_pool_delete_when_idle` (envoyproxy#17577)
  api: LEDS api introduction (envoyproxy#17419)
  kafka: add support for api versions request in mesh-filter (envoyproxy#17475)
  ext_proc: Implement BUFFERED_PARTIAL processing mode (envoyproxy#17531)
  tooling: Async/pathlib/mypy cleanups and utils (envoyproxy#17505)
  xds: restructure CertificateProvider fields (envoyproxy#17201)
  Refactor OverloadIntegrationTest breaking out a test base, and the fake resource monitors. (envoyproxy#17530)
  listener: move active connection collection out of active tcp listener (envoyproxy#16947)
  tools: format checks for backticks (envoyproxy#17566)
  coverage: set lower limit for common/quic and common (envoyproxy#17573)
  v2: final source removal (envoyproxy#17565)
  test: bumping coverage (envoyproxy#17564)
  quic: enforcing header size and contents (envoyproxy#17520)
  Support for canonicalizing URI properly for AWS SigV4 signer (envoyproxy#17137)
  listener: add a stat for transport socket connect timeout (envoyproxy#17458)
  listener: add listen() error handling (envoyproxy#17427)
  http: return per route config when direct response is set (envoyproxy#17449)
  removing most v2 references from source/ (envoyproxy#17415)
  bug fix: return bootstrap when validating config (envoyproxy#17499)
  ...

Signed-off-by: Garrett Bourg <bourg@squareup.com>
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
…ke resource monitors. (envoyproxy#17530)

Signed-off-by: Kevin Baichoo <kbaichoo@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants